﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// A container for a list of nationalities of a person
    /// Note at least one country required
    /// </summary>
    public class Nationalities : List<NationalityCountry>, IExtendedAttributes
    {
        public Nationalities()
        {
        }

        public Nationalities(int capacity)
            : base(capacity)
        {
        }

        public Nationalities(IEnumerable<NationalityCountry> collection)
            : base(collection)
        {
        }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
